<div class='span12'>
    <!-- HEADER -->
    <div class='row-fluid'>
        <div class='span12'>
            <div class='page-header'>
                <h1>
                    <i class='icon-cogs'></i>
                    <span>Facebook Login Auth Management</span>
                </h1>
            </div>
        </div>
    </div>

    <!-- END OF HEADER -->


    <div class="row-fluid">
        <div class="span12 box bordered-box blue-border">
            <div class="box-header dark-background">
                <div class="title">Facebook Login Auth</div>
                <div class="actions">
                    <a href="#" class="btn box-remove btn-mini btn-link"><i class="icon-remove"></i>
                    </a>
                    <a href="#" class="btn box-collapse btn-mini btn-link"><i></i>
                    </a>
                </div>
            </div>

            <div class="box-content">
          
                      <form accept-charset="<?= Settings::get('en','charecter_set');?>" action="<?= URL::current(); ?>" class="form form-horizontal "
                      method="post">

                    <div>
                        <?= Form::token(); ?>
                    </div>

                    <?php if(Session::get('message')){?>
                    <p>
                  
                        <?=
                        (Session::get('message') ? Session::get('message') : '');
                        ?>
                    </p>
                    <?php }?>


                    
                    <div class="control-group">
                        <label class="control-label"><i class="icon-user"></i> AppID </label>

                       
                        
                        <div class="controls">
                            <input class="input-xxlarge" name="app_id"
                                   value="<?= $fn;?>" placeholder="Secret"
                                   type="text" >
                          	
                        </div>
                    </div>
                    

                         <div class="control-group">
                        <label class="control-label"><i class="icon-user"></i> Secret </label>

                        <div class="controls">
                            <input class="input-xxlarge" name="secret"
                                   value="<?= $secret;?>" placeholder="Secret"
                                   type="text" >
                          	
                        </div>
                    </div> 
                    
                    
                    <hr class="hr-normal">


                    <div class="form-actions">
                        <button class="btn btn-primary" type="submit" name="btnSave" value="save"  <?php if(Config::get('application.mode')){?>onclick="alert ('Sorry! Not allowed in demo mode '); return false;" 
                                        <?}else{?>onclick="return confirm('Are you sure ?');"<?php }?>>
                            <i class="icon-save"></i>
                            Save
                        </button>

                    </div>
                </form>


            </div>
        </div>
    </div>


    <!-- END OF CONTENT -->
</div>




